<?php

namespace App\Transformers;

use App\Models\SysCity;

class CityTransformer extends BaseTransformer
{
    public function transform(SysCity $model)
    {
        return [
            'id' => $model->id,
            'name' => $model->name,
            'province_id' => $model->province_id,
            'full_spell' => $model->full_spell,
            'first_spell' => $model->first_spell,
        ];
    }
}
